package com.mercury.pattern._05_adapter._002_objadpater;

public class Phone {

    /**
     * 充电
     */
    public void recharge(ChargerAdapter adapter){
        int desc = adapter.output5V();

        System.out.println("我是手机。我充到了" + desc +"伏的电");
    }
}
